package com.atguigu.spzx;


import com.atguigu.spzx.common.anno.EnableLoginAuth;
import com.atguigu.spzx.common.anno.EnableMyGlobalExceptionHandler;
import com.atguigu.spzx.common.anno.EnableUserTokenFeignInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableLoginAuth
@EnableMyGlobalExceptionHandler
@EnableFeignClients(basePackages = {"com.atguigu.spzx.feign.order", "com.atguigu.spzx.feign.product"})
@EnableUserTokenFeignInterceptor
public class PayApplication {
    public static void main(String[] args) {
        SpringApplication.run(PayApplication.class,args);
    }
}
